Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_SetLocation

You can use the Q3SpotLight_SetLocation function to set the location of a spot light.

TQ3Status Q3SpotLight_SetLocation (
TQ3LightObject light, 
const TQ3Point3D *location);
light
A spot light object.
location
The desired location of the spot light, in world coordinates.
DESCRIPTION
The Q3SpotLight_SetLocation function sets the location of the spot light specified by the light parameter to the value passed in the location parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996